home *** CD-ROM | disk | FTP | other *** search
- Path: mn5.swip.net!news
- From: info@koncita.se (Michael Thunberg)
- Newsgroups: comp.lang.c++
- Subject: Derived constructors
- Date: Fri, 19 Apr 1996 16:47:03 GMT
- Organization: -
- Message-ID: <4l8g4t$4si@mn5.swip.net>
- NNTP-Posting-Host: dialup108-4-7.swipnet.se
- NNTP-Posting-User: 4316bb40ebeaa300afe15a174ee6b02f
- X-Newsreader: Forte Agent .99c/32.126
-
- When you derive a class, is it possible to use the parents constructor
- instead of making a new one?
-
- E.g:
-
- class CTest : public CDialog
- {
- ...
- }
-
- class CTemp : public CTest
- {
- ...
- }
-
- and then initialize CTemp using the CTest somehow....
-
- // Michael
-
-